home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / ab20 / unarced / graphics / pbmplus / ppm / ppmquantall.man < prev    next >
Text File  |  1995-03-17  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ppmquantall(1)        AMIGA (27 July 1990)         ppmquantall(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           ppmquantall - run ppmquant on a bunch of files all at once,
  10.           so they share a common colormap
  11.  
  12.      SYNOPSIS
  13.           ppmquantall ncolors ppmfile ...
  14.  
  15.      DESCRIPTION
  16.           Takes a bunch of portable pixmap as input.  Chooses ncolors
  17.           colors to best represent all of the images, maps the
  18.           existing colors to the new ones, and overwrites the input
  19.           files with the new quantized versions.
  20.  
  21.           Verbose explanation: Let's say you've got a dozen pixmaps
  22.           that you want to display on the screen all at the same time.
  23.           Your screen can only display 256 different colors, but the
  24.           pixmaps have a total of a thousand or so different colors.
  25.           For a single pixmap you solve this problem with ppmquant;
  26.           this script solves it for multiple pixmaps.  All it does is
  27.           concatenate them together into one big pixmap, run ppmquant
  28.           on that, and then split it up into little pixmaps again.
  29.  
  30.           (Note that another way to solve this problem is to pre-
  31.           select a set of colors and then use ppmquant's -map option
  32.           to separately quantize each pixmap to that set.)
  33.  
  34.      SEE ALSO
  35.           ppmquant(1), ppm(5)
  36.  
  37.      BUGS
  38.           It's a csh script.  Csh scripts are not portable to System
  39.           V.  Scripts in general are not portable to non-Unix
  40.           environments.
  41.  
  42.      AUTHOR
  43.           Copyright (C) 1991 by Jef Poskanzer.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/19/91)
  64.  
  65.  
  66.  
  67.